home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 419_01 / odmg10 / config / sun.cf < prev    next >
Encoding:
Text File  |  1993-06-27  |  1.7 KB  |  70 lines

  1. XCOMM platform:  $XConsortium: sun.cf,v 1.71 91/12/20 11:18:34 rws Exp 
  2.  
  3. #define OSName            SunOS 5.0
  4. XCOMM operating system:  OSName
  5. #define OSMajorVersion    4
  6. #define OSMinorVersion    2
  7.  
  8. #if OSMajorVersion < 4 || (OSMajorVersion == 4 && OSMinorVersion < 1)
  9. /* We do not guarantee this will work */
  10. #define BootstrapCFlags   -DNOSTDHDRS
  11. #define StandardDefines   -DNOSTDHDRS
  12. #endif
  13.  
  14. /* You ALSO need this if you have Sun ld patch 100170-06 to 4.1.1 
  15. #if OSMajorVersion == 4 && OSMinorVersion > 1
  16. #define SunPost411FCSLd         YES
  17. #endif */
  18.  
  19. #define SystemV4                YES
  20. #define ExtraLibraries          -lsocket -lnsl -lgen
  21. #define XsunServer      YES        /* has color and mono support */
  22. #define XsunMonoServer      YES        /* monochrome only */
  23. #define BuildPexExt      XsunServer
  24. #define InstKmemFlags   -g kmem -m 2755
  25. #define HasSockets              YES
  26.  
  27. /*#define DefaultCCOptions    -xsb*/    /* source browser, to be removed */
  28. #if HasGcc
  29.  
  30. #define SharedLibraryCcCmd cc
  31. #define ExtraLoadFlags -B/usr/bin/
  32. #define AllocateLocalDefines /**/
  33.  
  34. .c.o:
  35.         $(CC) -c $(CFLAGS) $*.c
  36.  
  37. #else
  38.  
  39. #define AllocateLocalDefines -DINCLUDE_ALLOCA_H
  40.  
  41. #endif
  42.  
  43. #ifdef sparc
  44. #undef sparc
  45. #define SparcArchitecture
  46. #endif
  47. #ifdef sun386
  48. #undef sun386
  49. #define i386Architecture
  50. #endif
  51.  
  52.  
  53. #define ServerDefines      -DSVR4 -Dsun -Dsparc ExtensionDefines AllocateLocalDefines
  54. #include <sv4Lib.rules>
  55.  
  56. #ifndef UseSunWindowsInServer
  57. #define UseSunWindowsInServer    NO    /* link in SunWindows support? */
  58. #endif
  59.  
  60. #if UseSunWindowsInServer
  61. #define SunWindowsDefines -DSUN_WINDOWS
  62. #else
  63. #define SunWindowsDefines /* as nothing */
  64. #endif
  65.  
  66. #define SharedAllocateLocalDefines -DINCLUDE_ALLOCA_H    /* patch 1*/
  67. #define ServerOSDefines AllocateLocalDefines 
  68. #define    BootstrapCFlags    -Dsun -Dsparc
  69. #define BuildPex        NO
  70.